package g

import (
	"github.com/gomodule/redigo/redis"
	"github.com/jinzhu/gorm"
	"sync"
	"talent.com/server/durotar.git/tools/tz"
)

var (
	StartTime     = tz.GetNowTs()
	GameCloseChan = make(chan bool)

	ORM *gorm.DB

	AllAgents          = &sync.Map{}
	SubscribeUserMap   = make(map[uint64]map[uint64]int64)
	UserLeavingTimeMap = &sync.Map{}
	RedisPool          *redis.Pool
)
